home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1997 August / Walnut Creek CDROM.7z / VOL_400 / 460_01 / IO / MSVCPP.MAK < prev    next >
Encoding:
Makefile  |  1996-09-08  |  901 b   |  61 lines

  1.  
  2.  
  3.  
  4. !include ..\control\msvcpp.ctl
  5.  
  6. LIBRARY  = $(IO)
  7. LIBRARYP = $(YACLLIB)\$(LIBRARY)
  8.  
  9.  
  10. # ------------------------ Names of files --------------------------
  11.  
  12.  
  13. # OBJECTS =  binfile.obj bytstore.obj directry.obj  dskbtree.obj \
  14. #     pathname.obj slotfile.obj
  15.  
  16. # directry.obj not yet supported under MSVC++, because it doesn't have the
  17. # POSIX API
  18. OBJECTS =  binfile.obj bytstore.obj  dskbtree.obj \
  19.      pathname.obj slotfile.obj
  20.  
  21.  
  22. # ---------------------- Compilation rules -----------------------
  23.  
  24.  
  25. .SUFFIXES:
  26. .SUFFIXES: .cxx .obj
  27.  
  28.  
  29. TARGET = $(LIBRARYP).lib
  30.  
  31.  
  32. .cxx.obj:
  33.     $(CC) $(DEBUG) $(CCOPTS)  $<
  34.  
  35.  
  36.     
  37. all:  $(TARGET)
  38.  
  39.  
  40.  
  41. $(LIBRARYP).lib: $(OBJECTS) $(STATIC_OBJS)
  42.     $(LIBR) /out:$(TARGET) $(OBJECTS) $(STATIC_OBJS)
  43.     -$(DELETE) $(LIBRARYP).bak
  44.  
  45.     
  46. # ------------------ Other targets ---------------------------
  47.  
  48.  
  49.  
  50.  
  51. clean:
  52.     -del *.obj
  53.     -del $(LIBRARYP).lib
  54.     -del $(LIBRARYP).bak
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.